gridpack::dynamic_simulation_r::DSAppModule Class Reference

#include <ds_app_module.hpp>

Collaboration diagram for gridpack::dynamic_simulation_r::DSAppModule:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DSAppModule (void)
 ~DSAppModule (void)
void readNetwork (boost::shared_ptr< DSNetwork > &network, gridpack::utility::Configuration *config)
void setNetwork (boost::shared_ptr< DSNetwork > &network, gridpack::utility::Configuration *config)
void readGenerators (void)
void initialize ()
void solve (gridpack::dynamic_simulation_r::DSBranch::Event fault)
void write ()
std::vector
< gridpack::dynamic_simulation_r::DSBranch::Event > 
getFaults (gridpack::utility::Configuration::CursorPtr cursor)
void setGeneratorWatch ()

Constructor & Destructor Documentation

gridpack::dynamic_simulation_r::DSAppModule::DSAppModule ( void   ) 

Basic constructor

gridpack::dynamic_simulation_r::DSAppModule::~DSAppModule ( void   ) 

Basic destructor


Member Function Documentation

std::vector<gridpack::dynamic_simulation_r::DSBranch::Event> gridpack::dynamic_simulation_r::DSAppModule::getFaults ( gridpack::utility::Configuration::CursorPtr  cursor  ) 

Read faults from external file and form a list of faults

Parameters:
cursor pointer to open file contain fault or faults
Returns:
a list of fault events
void gridpack::dynamic_simulation_r::DSAppModule::initialize (  ) 

Set up exchange buffers and other internal parameters and initialize network components using data from data collection

void gridpack::dynamic_simulation_r::DSAppModule::readGenerators ( void   ) 

Read generator parameters. These will come from a separate file (most likely). The name of this file comes from the input configuration file.

void gridpack::dynamic_simulation_r::DSAppModule::readNetwork ( boost::shared_ptr< DSNetwork > &  network,
gridpack::utility::Configuration config 
)

Read in and partition the powerflow network. The input file is read directly from the Dynamic_simulation block in the configuration file so no external file names or parameters need to be passed to this routine

Parameters:
network pointer to a DSNetwork object. This should not have any buses or branches defined on it.
config pointer to open configuration file
void gridpack::dynamic_simulation_r::DSAppModule::setGeneratorWatch (  ) 

Read in generators that should be monitored during simulation

void gridpack::dynamic_simulation_r::DSAppModule::setNetwork ( boost::shared_ptr< DSNetwork > &  network,
gridpack::utility::Configuration config 
)

Assume that DSNetwork already exists and just cache an internal pointer to it. This routine does not call the partition function. Also read in simulation parameters from configuration file

Parameters:
network pointer to a complete DSNetwork object.
config pointer to open configuration file
void gridpack::dynamic_simulation_r::DSAppModule::solve ( gridpack::dynamic_simulation_r::DSBranch::Event  fault  ) 

Execute the time integration portion of the application

void gridpack::dynamic_simulation_r::DSAppModule::write (  ) 

Write out final results of dynamic simulation calculation to standard output


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1